﻿@{
    ViewBag.Title = "添加角色——公路工程建设项目造价全过程管理系统";
}
<script src="/Scripts/jQuery/jquery.validate.min.js" type="text/javascript"></script>
<script src="/Scripts/jQuery/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#Role_Create").submit(function () {
            return false;
        });
    });
   
</script>
<div class="pageContentD">
    @*<form id="Role_Create" method="post" action="/Permission/Role/RoleAdded" class="pageForm"
    onsubmit="return validateCallback(this,dialogCreated);">*@
    @{Html.EnableClientValidation();}
    @using (Html.BeginForm("RoleAdded", "Role", null, FormMethod.Post, new { onsubmit = "return validateCallback(this,dialogCreated);", @id = "Role_Create", @class = "pageForm" }))
    {  
        @Html.Partial("_content")
        <div class="formBar">
            <ul>
                <li>
                    <button type="submit" class="btn btn-success btn-sm">
                        保存</button></li>
                <li>
                    <button type="button" class="close btn btn-default btn-sm">
                        取消</button></li>
            </ul>
        </div>
    }
    @*</form>*@
</div>
